//
//  BooksFileUtil.h
//  handbooklite
//
//  Created by bao_wsfk on 12-8-31.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BooksFileUtil : NSObject{
    
@private
    NSFileManager *_fm;
@public
    NSString *_booksFilePath;
}
@property (nonatomic, retain) NSFileManager *fm;
@property (nonatomic, readonly) NSString *booksFilePath;

+ (id)newInstance;


- (BOOL)isHasFile;

- (BOOL)isHasDownNum:(NSString *)downnum;

- (BOOL)addBooksName:(NSString *)name icon:(NSString *)icon downnum:(NSString *)downnum;

- (NSArray *)books;

- (NSDictionary *)bookByDownNum:(NSString *)downnum;

@end
